const api = 'http://140.210.200.71'

// 远程组件加载地址
const remoteApi = 'http://140.210.200.71';

module.exports = {
    '/api/': {
        target: api,
        changeOrigin: true,
    },
    '/externalLink/': {
        target: api,
        changeOrigin: true,
    },
    '/apis/': {
        target: api,
        changeOrigin: true,
        pathRewrite: {
            '^/apis': '',
        },
    },
    '/v1/': {
        target: api,
        changeOrigin: true,
    },
    '/external/': {
        target: api,
        changeOrigin: true,
    },
    '/extensions/': {
        target: remoteApi,
        changeOrigin: true,
    }
}
